package com.changgou.search.dao;

import com.changgou.search.pojo.SkuInfo;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * @author: zhengke
 * @date: 2020/12/18
 * @return:
 * @description: 跟dao层一样 写这个的好处是，elastic在创建的时候会自己创建索引库，所以要先删除原有的索引库
 */

public interface SearchRepository extends ElasticsearchRepository<SkuInfo,Long> {
}
